<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title>{dede:global.cfg_indexseotitle/}{dede:global.cfg_webname/}</title>
		<meta name="keywords" content="{dede:global.cfg_keywords/}">
		<meta name="description" content="{dede:global.cfg_description/}">
		<link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
		<link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="/static/web/css/style.css">
	</head>
	<body>
		{dede:include filename='top.htm'/}
		{dede:include filename='head.htm'/}
		<section class="container py-3">
			<div class="row">
				<div class="col-md-3 pb-m-3">{dede:include filename='widget_recommend.htm'/}</div>
				<div class="col-md-6 pb-m-3">
					<div class="row">
						<div id="carouselDede" class="col-12 carousel slide" data-ride="carousel">
							<ol class="carousel-indicators">{dede:arclist row='5' flag='f' orderby='id'}
								<li data-target="#carouselDede" data-slide-to="[field:global.autoindex function='trim(IndexSub(@me,1))'/]" class="[field:global.autoindex function='IndexActive(@me)'/]"></li>{/dede:arclist}
							</ol>
							<div class="carousel-inner">{dede:arclist row='5' flag='f' orderby='id'}
								<div class="carousel-item[field:global.autoindex function='IndexActive(@me)'/]">
									<a href="[field:arcurl/]" title="[field:fulltitle/]"><img src="[field:litpic/]" alt="[field:fulltitle/]" class="bannr-img"></a>
									<div class="carousel-caption d-none d-md-block">
										<h2 class="mb-3">[field:title/]</h2>
										<p class="mb-0">[field:description function="cn_substr(@me,120)"/]...</p>
									</div>
								</div>{/dede:arclist}
							</div>
							<a href="#carouselDede" class="carousel-control-prev" role="button" data-slide="prev">
								<span class="carousel-control-prev-icon"></span>
								<span class="sr-only">上篇</span>
							</a>
							<a href="#carouselDede" class="carousel-control-next" role="button" data-slide="next">
								<span class="carousel-control-next-icon"></span>
								<span class="sr-only">下篇</span>
							</a>
						</div>
					</div>
				</div>
				<div class="col-md-3">
					<div id="loginWin" class="item-admin text-center bg-white shadow-sm rounded">
						<div class="form-group">
							<p><img src="/static/web/img/admin.png" alt="请先登录" title="请先登录" class="user-img-md"></p>
							<h2>Hi，请先登录</h2>
						</div>
						<div class="form-group">
							<a href="{dede:global.cfg_memberurl/}" class="btn btn-success btn-sm btn-block">登录</a>
						</div>
						<div class="form-group mb-0">
							<a href="{dede:global.cfg_memberurl/}/index_do.php?fmdo=user&dopost=regnew" class="btn btn-success btn-sm btn-block">注册</a>
						</div>
					</div>
				</div>
			</div>
		</section>
		<section class="container py-3">
			<div class="row biz-mb">{dede:channelartlist typeid='1,1'}
				<div class="col-md-12 mb-3">
					<div class="item-title text-left">
						<h2>{dede:field.typename/}</h2>
					</div>
				</div>{dede:arclist row='3' orderby='id'}
				<div class="col-md-4">
					<article class="item-theme bg-white shadow-sm rounded">
						<div class="item-theme-img"><a href="[field:arcurl/]"><img src="[field:litpic/]" alt="[field:title/]" title="[field:title/]"></a></div>
						<div class="item-theme-box">
							<h5 class="title mb-3"><a href="[field:arcurl/]">[field:flag runphp='yes']if (stristr(@me,"h")) @me="<span class='btn btn-success btn-sm mr-2'>头条</span>";else if(stristr(@me,"c")) @me="<span class='btn btn-success btn-sm mr-2'>推荐</span>";else @me="";[/field:flag][field:title/]</a></h5>
							<div class="row align-items-center">
								<div class="col-4 text-left text-danger">
									<i class="fa fa-download mr-1"></i>
									<span><script src="/apps/disdls.php?aid=[field:id/]"></script></span>
								</div>
								<div class="col-8 text-right">
									<a href="[field:userurl/]"><img src="[field:face/]" class="user-img-xs mr-1"></a>
									<a href="[field:userurl/]"><span>[field:uname/]</span></a>
								</div>
							</div>
						</div>
					</article>
				</div>{/dede:arclist}{/dede:channelartlist}
			</div>
		</section><!--该布局适用于软件模型-->
		<section class="container py-3">
			<div class="row biz-mb">{dede:channelartlist typeid='2,2'}
				<div class="col-md-12 mb-3">
					<div class="item-title text-left">
						<h2>{dede:field.typename/}</h2>
					</div>
				</div>{dede:arclist row='3' orderby='id'}
				<div class="col-md-4">
					<article class="item-news bg-white shadow-sm rounded">
						<div class="item-news-img"><a href="[field:arcurl/]"><img src="[field:litpic/]" alt="[field:title/]" title="[field:title/]"></a></div>
						<div class="title"><h5><a href="[field:arcurl/]">[field:title/]</a></h5></div>
						<p>[field:description function="cn_substr(@me,130)"/]...</p>
						<div class="meta">
							<span class="author mr-3"><a href="[field:userurl/]"><img src="[field:face/]" class="user-img-xs mr-1">[field:uname/]</a></span>
							<span class="date"><i class="fa fa-calendar mr-1"></i>[field:pubdate function="MyDate('Y-m-d',@me)"/]</span>
						</div>
					</article>
				</div>{/dede:arclist}{/dede:channelartlist}
			</div>
		</section><!--该布局适用于文档和图片模型-->
		<section class="container py-3">
			<div class="row">{dede:channelartlist typeid='3,3'}
				<div class="col-md-4 pb-m-3">
					<article class="item-article bg-white shadow-sm rounded p-3">
						<h2 class="mb-3">{dede:field.typename/}</h2>
						<ul>{dede:arclist row='10' titlelen='110' orderby='id'}
							<li>[field:global.autoindex/].<a title="[field:fulltitle/]" href="[field:arcurl/]">[field:title/]</a></li>{/dede:arclist}
						</ul>
					</article>
				</div>{/dede:channelartlist}{dede:channelartlist typeid='4,4'}
				<div class="col-md-4 pb-m-3">
					<article class="item-article bg-white shadow-sm rounded p-3">
						<h2 class="mb-3">{dede:field.typename/}</h2>
						<ul>{dede:arclist row='10' titlelen='110' orderby='id'}
							<li>[field:global.autoindex/].<a title="[field:fulltitle/]" href="[field:arcurl/]">[field:title/]</a></li>{/dede:arclist}
						</ul>
					</article>
				</div>{/dede:channelartlist}{dede:channelartlist typeid='5,5'}
				<div class="col-md-4">
					<article class="item-article bg-white shadow-sm rounded p-3">
						<h2 class="mb-3">{dede:field.typename/}</h2>
						<ul>{dede:arclist row='10' titlelen='110' orderby='id'}
							<li>[field:global.autoindex/].<a title="[field:fulltitle/]" href="[field:arcurl/]">[field:title/]</a></li>{/dede:arclist}
						</ul>
					</article>
				</div>{/dede:channelartlist}
			</div>
		</section><!--该布局适用于文档和图片模型-->
		{dede:include filename='foot.htm'/}
	</body>
</html>